package actuator

import (
	"MoSkeleton/services/actuator"
	"github.com/gin-gonic/gin"
	"net/http"
)

type HealthIndicatorCtrl struct {
}

func (h *HealthIndicatorCtrl) Health(c *gin.Context) {
	healthResp := actuator.ActuatorGroupInst.HealthIndicatorServiceInst.Health()
	c.JSON(http.StatusOK, healthResp)
}
